package com.intranet.fund.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.water.domain.BaseDomain;

/**
 * 访客
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "water_fund_visitors")
public class Visitors extends BaseDomain {

	/**
	 * 访客编号
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE)
	@Column(name = "id")
	private Integer id;

	/**
	 * 访客IP
	 */
	@Column(name = "ip")
	private String ip;

	/**
	 * 操作系统名称
	 */
	@Column(name = "osName")
	private String osName;

	/**
	 * 浏览器名称
	 */
	@Column(name = "agent")
	private String agent;

	/**
	 * 访问时间
	 */
	@Column(name = "accessTime")
	private Date accessTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getOsName() {
		return osName;
	}

	public void setOsName(String osName) {
		this.osName = osName;
	}

	public String getAgent() {
		return agent;
	}

	public void setAgent(String agent) {
		this.agent = agent;
	}

	public Date getAccessTime() {
		return accessTime;
	}

	public void setAccessTime(Date accessTime) {
		this.accessTime = accessTime;
	}
}
